﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ACADApplication = Autodesk.AutoCAD.ApplicationServices.Application;
namespace YNCNumberSys
{
    public class ZJSetCurrentLayerName
    {
        #region 属性
        
        string _str_LayerName;

        public string str_LayerName
        {
            get { return _str_LayerName; }
            set { _str_LayerName = value; }
        }

        #endregion
        public ZJSetCurrentLayerName(string str_Name)
        {
            _str_LayerName = str_Name;
        }
        public void Do()
        {
            ACADApplication.SetSystemVariable("CLAYER", (object)_str_LayerName);
        }

    }
}
